<?php 
defined('_JEXEC') or die('Restricted access'); 
$document = JFactory::getDocument();
$document->addStyleSheet('components/com_sialpacadb/assets/autosuggest_inquisitor.css');
?>
<script type="text/javascript" src="components/com_sialpacadb/assets/bsn.AutoSuggest_2.1.3.js"></script>
Inserimento Genealogia
<div> 
<form method="get" action="" class="asholder"> 
	<label for="testinput">Animale</label> 
	<input style="width: 200px" type="text" id="testinput" value="" /> 
	<input type="submit" value="submit" /> 
</form> 
</div> 
<script type="text/javascript"> 
	var options = {
		script:"index2.php?option=com_sialpacadb&task=getGenAnimal&format=raw&table=jos_sialpaca_animale&json=true&limit=6&",
		varname:"input",
		json:true,
		shownoresults:false,
		maxresults:6
		
	};
	var as_json = new bsn.AutoSuggest('testinput', options);
</script> 